package com.lzh.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Description: ws的基本返回信息体
 * Author: lzh
 * Date: 2023-03-19
 */

@NoArgsConstructor
@AllArgsConstructor
@Data
public class BaseResp<T> {
    /**
     * 推送给前端的消息扫码地址
     *
     *
     */
    private Integer type;

    /**
     * 消息内容
     */
    //@ApiModelProperty(value = "响应消息", required = false)
    private String message;

    /**
     * 响应中的数据
     */
    //@ApiModelProperty(value = "响应码", required = true)
    private Integer code;

    private T data;
}
